package com.simon.gpsinfo;

import android.content.Context;

import com.simon.gpsinfo.GPSDbAdapter;

public class DBGPSInfo {
	private GPSDbAdapter mDbHelper;

	DBGPSInfo(Context ctx) {
		mDbHelper = new GPSDbAdapter(ctx);
		mDbHelper.open();
	}

	public void createRow(Long time, Float speed, Float accuracy,
			Double altitude, Float bearing, Double latitude, Double longitude,
			String provider) {
		// String title = mTitleText.getText().toString();
		// String body = mBodyText.getText().toString();

		mDbHelper.create(time, speed, accuracy, altitude, bearing, latitude,
				longitude, provider);

	}

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO Auto-generated method stub

	}

}
